import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 因为webpack的配置，允许在js里面引入css
import "./assets/css/reset.less";

//移动端适配
import "amfe-flexible";
// 引入vant中的库
import {
  Button,
  Dialog,
  Swipe,
  SwipeItem,
  Grid,
  GridItem,
  Tab,
  Tabs,
  NavBar,
  Search,
  Tabbar,
  TabbarItem,
  Icon,
  Card,
  DropdownMenu,
  DropdownItem,
  Overlay,
  Row,
  Col, 
  Form, 
  Field,
  Empty
} from 'vant';



createApp(App)
.use(store)
.use(router)
.use(Button)
.use(Dialog)
.use(Grid)
.use(GridItem)
.use(Tab)
.use(Tabs)
.use(NavBar)
.use(Search)
.use(Swipe)
.use(SwipeItem)
.use(Tabbar)
.use(TabbarItem)
.use(Icon)
.use(DropdownMenu)
.use(Card)
.use(DropdownItem)
.use(Overlay)
.use(Row)
.use(Col)
.use(Form)
.use(Field)
.use(Empty)
.mount('#app')
